<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
    </h:head>

    <h:body>
        
                <ui:composition template="templates/mainPageLayout.xhtml">
                    <ui:define name="activebody"  >

                        <p:dataTable value="#{resultbean.list}" id="tbl" var="userList" paginator="true" rows="10">  
                            <p:column>  
                                <f:facet name="header">  
                                    <h:outputText value="How to arrive" />  
                                </f:facet>  
                                <h:outputText value="#{userList.email}" />  
                            </p:column>  
                        </p:dataTable> 
                    </ui:define>
                </ui:composition>
          
    </h:body>
</html>
